package com.tuanzi.loan.business.service.family;

import com.tuanzi.loan.business.entity.family.ProductMatchRule;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.family.ProductMatchRuleSearchRequest;
import com.tuanzi.loan.vo.response.family.ProductMatchRuleSearchResponse;
import com.tuanzi.loan.vo.view.family.ProductMatchRuleView;
import org.springframework.data.domain.Page;

/**
 * @author Ray 2017/09/21
 */
public interface ProductMatchRuleService extends BaseAuditService<ProductMatchRule, Long> {

    Page<ProductMatchRuleSearchResponse> list(PageSearcher<ProductMatchRuleSearchRequest> pageSearcher);

    ProductMatchRuleView loadProductMatchRuleView(Long productMatchRuleId);

    ProductMatchRuleView saveOrUpdateProductMatchRuleView(ProductMatchRuleView view);

}
